//
//  AddUserViewController.m
//  Fantasia
//
//  Created by kongkong on 2016/12/25.
//  Copyright © 2016年 Kongkong. All rights reserved.
//

#import "AddUserViewController.h"

@interface AddUserViewController ()
@property (nonatomic,strong) UITextField* userId;
@property (nonatomic,strong) UITextField* userName;
@end

@implementation AddUserViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"添加用户";
    self.view.backgroundColor = [UIColor whiteColor];
    [self loadContent];
    
    [self loadData];
    // Do any additional setup after loading the view.
}

- (void)loadContent{
    UILabel* idLabel = [[UILabel alloc]initWithFrame:CGRectMake(10, 10, 100, 35)];
    idLabel.text = @"用户ID:";
    
    UILabel* nameLabel = [[UILabel alloc]initWithFrame:CGRectMake(10, 55, 100, 35)];
    nameLabel.text = @"用户名";
    
    [self.view addSubview:idLabel];
    [self.view addSubview:nameLabel];
    
    //self.userId = [UITextField alloc]initWithFrame:CGRectMake(<#CGFloat x#>, <#CGFloat y#>, <#CGFloat width#>, <#CGFloat height#>)
}

- (void)loadData{
    [[KKRequestEngine api:@"user" action:@"FETCHFOLLOWUSER"]
    async:^(id  _Nullable response, id  _Nullable result) {
        
    }];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
